import styles from "./index.module.scss"
import {Spin} from "antd";
export default function Loading() {


    return <div className={styles.container}>
        <div className={styles.loader}></div>
        <h2>Loading...</h2>
    </div>
}



export function SpinLoading() {
    return <div className={styles.spinContainer}>
        <Spin size={"default"}/>
    </div>
}

/**
 * 5 个小点加载特效
 * @constructor
 */
export function FiveDotLoading() {
    return <section className={styles.dotsContainer}>
        <div className={styles.dot}></div>
        <div className={styles.dot}></div>
        <div className={styles.dot}></div>
        <div className={styles.dot}></div>
        <div className={styles.dot}></div>
    </section>
}
